import math
import time
import matplotlib.pyplot as plt
def do_pic(nums,min,max,pr,G_X):
    plt.scatter(G_X[0], G_X[1],
                s=100,
                marker='8',
                c='r',
                linewidths=0.41,
                )
    x1=[]
    x2=[]
    for i in range(len(nums)):
        x1.append(nums[i][0])
        x2.append(nums[i][1])

    plt.scatter(x1[0:pr],x2[0:pr],
            s=30,
            marker=',',
            c='r',
            linewidths=0.41,

            )

    plt.scatter(x1[pr+1:len(nums)], x2[pr+1:len(nums)],
                s=30,
                marker='.',
                c='b',
                linewidths=0.41,

                )
    plt.xlim(min,max)
    plt.ylim(min, max)
    # for n in range(pr,len(nums)):
    #     plt.scatter(nums[n][0], nums[n][1],
    #                 s=20,
    #                 marker='.',
    #                 c='b',
    #                 linewidths=0.41,
    #             )




